package com.suny.DataDicVal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 数据字典值表
 * @TableName data_dic_val
 */
@Schema( name = "数据字典值实体",description = "数据字典值实体")
@TableName(value ="data_dic_val")
@Data
public class DataDicVal implements Serializable {
    /**
     * 
     */
    @Schema(name = "valId",description = "主键")
    @TableId(type = IdType.AUTO)
    private Integer valId;

    /**
     * 字典编号
     */
    @Schema(name = "dicId",description = "字典编号")
    private Integer dicId;

    /**
     * 字典值
     */
    @Schema(name = "valValue",description = "字典值")
    private String valValue;

    /**
     * 是否启用(1:启用,0:停用)
     */
    @Schema(name = "status",description = "是否启用(1:启用,0:停用)")
    private Integer status;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Schema(name = "createTime",description = "创建时间")
    private Date createTime;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Schema(name = "updateTime",description = "更新时间")
    private Date updateTime;


}